<?php 
$attdata = XH_Social_Temp_Helper::clear('atts','templete');
$request = $attdata['datas'];
$request['tab'] ='authorization2';
$state = isset($_REQUEST['state'])?urlencode($_REQUEST['state']):null;
$code = isset($_REQUEST['code'])?urlencode($_REQUEST['code']):null;
?>
<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport"content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <title>微信登录</title>
</head>
<body>
	 <p style="margin:50px 0 0 0;text-align:center;"><img src=""  width="16" height="16" alt=""/> 加载中... </p>
     <script type="text/javascript">
 		setTimeout(function(){location.href='<?php echo XH_Social::instance()->ajax_url($request,true,true)."&state={$state}&code={$code}"?>';},300);
     </script>
</body>
</html>